<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改投票</title>
    <script src="../../assets/js/jQuery.js"></script>
    <link rel="stylesheet" href="../../assets/public/css/public.css">
    <link rel="stylesheet" href="../../assets/css/modificationPoll.css">
    <script src="../../assets/js/Interceptor.js"></script>
    <script src="../../assets/js/modificationPoll.js"></script>
    <script src="../../assets/public/js/toolTip.js"></script>
</head>
<body>
<div id="top"></div>
<div id="main">
    <div class="content-left">
        <h1>修改投票资料</h1>
        <form action="">
            <div>
                <p>项目名称*</p>
                <input type="text" id="item-Name" placeholder="输入该项目名称…">
            </div>
            <div>
                <p>项目信息</p>
                <textarea name="" id="item-message" placeholder="输入该项目的信息…"></textarea>
            </div>
            <div>
                <p>项目时间*</p>
                <input type="datetime-local" id="item-time-start" placeholder="输入该项目开始时间…" onfocus="this.blur()">&nbsp; —— &nbsp;
                <input type="datetime-local" id="item-time-finish" placeholder="输入该项目结束时间…" onfocus="this.blur()">
            </div>
            <div>
                <p>项目可投票数*</p>
                <input type="number" id="vote" placeholder="输入该项目可投票数" oninput="if(value.length>2)value=value.slice(0,2)">
            </div>
            <div>
                <p>项目选项*</p>
                <input type="text" id="item-option" placeholder="输入该项目选项名称…">

                <span class="add-option"></span>
            </div>
        </form>
    </div>
    <div class="content-right">
        <label for="file" class="item-image">
            <img src="" alt="">
            <div><span>添加图片</span></div>
            <input type="file" id="file" accept="image/*" name="file">
        </label>
        <div id="submit">完成</div>
    </div>
</div>
<div id="bottom"></div>

</body>
<script type="text/javascript">
  $(function () {
    $("#top").load("../../assets/public/html/publicTop.html");
    $("#bottom").load("../../assets/public/html/publicBot.html");
  })
</script>
</html>